﻿@{
    var controller = HttpContext.Current.Request.RequestContext.RouteData.Values["Controller"].ToString();
    string cLayout = "~/Views/Shared/_Layout.cshtml";
    if (controller == "Home")
    {
        cLayout = "~/Views/Shared/_DashboardLayout.cshtml";
    }
    else
    {
        cLayout = "~/Views/Shared/_Layout.cshtml";
    }
    Layout = cLayout;
    
}
